package com.qys.livesMall.app.user.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 今日店铺和用户统计表
 * </p>
 *
 * @author 
 * @since 2023-08-05
 */
@Getter
@Setter
@TableName("h2_app_user_statistics_day_log")
@Schema(name = "UserStatisticsDayLog", description = "今日用户收益统计表")
public class UserStatisticsDayLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    @Schema(description = "今日个人收益")
    private BigDecimal todayIncome;

    @Schema(description = "类型 用户0 用户团 2")
    private Integer type;

    @Schema(description = "统计时间")
    private LocalDateTime dataTime;

    @Schema(description = "用户id")
    private Long relevanceId;
}
